Pular para o conteúdo principal
PUT
/
api
/
v1
/
admin
/
integration
/
{id}
/
webhooks
/
{webhookId}
[Admin] Update a webhook
curl --request PUT \
  --url https://api.example.com/api/v1/admin/integration/{id}/webhooks/{webhookId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "webhookId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "eventName": "<string>",
  "url": "<string>",
  "isActive": true,
  "groupId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "params": "<string>",
  "conditionGroups": [
    {
      "order": 123,
      "conditions": [
        {
          "criteriaType": 123,
          "operator": 123,
          "value": "<string>",
          "referenceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "order": 123
        }
      ]
    }
  ],
  "name": "<string>"
}
'

Parâmetros de caminho

id
string<uuid>
obrigatório
webhookId
string<uuid>
obrigatório

Corpo

application/json
id
string<uuid>
webhookId
string<uuid>
eventName
string | null
url
string | null
isActive
boolean
groupId
string<uuid>
params
string | null
conditionGroups
object[] | null
name
string | null

Resposta

200

OK